<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script>
		function cars(namez,pricez,c_colorz,typez){
			var car=new Object();
			car.name=namez;
			car.price=pricez;
			car.c_color=c_colorz;
			car.type=typez;
			return car;
		}
		var volvo=cars("沃尔沃",79,"黑色","SUV")
		console.log("车名："+volvo.name)
		console.log("价格："+volvo.price+"万")
		console.log("颜色："+volvo.c_color)
		console.log("类型："+volvo.type)
	</script>
</html>
